/*
 * Selling Partner API for A+ Content Management
 * With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners assemble content by choosing from content modules and adding images and text.
 *
 * OpenAPI spec version: 2020-11-01
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package com.amazon.spapi.aplusContent_2020_11_01.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.amazon.spapi.aplusContent_2020_11_01.model.StandardImageTextBlock;
import java.io.IOException;

/**
 * Four standard images with text, presented on a grid of four quadrants.
 */
@ApiModel(description = "Four standard images with text, presented on a grid of four quadrants.")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2022-01-20T20:39:32.318+08:00")
public class StandardFourImageTextQuadrantModule {
  @SerializedName("block1")
  private StandardImageTextBlock block1 = null;

  @SerializedName("block2")
  private StandardImageTextBlock block2 = null;

  @SerializedName("block3")
  private StandardImageTextBlock block3 = null;

  @SerializedName("block4")
  private StandardImageTextBlock block4 = null;

  public StandardFourImageTextQuadrantModule block1(StandardImageTextBlock block1) {
    this.block1 = block1;
    return this;
  }

   /**
   * Get block1
   * @return block1
  **/
  @ApiModelProperty(required = true, value = "")
  public StandardImageTextBlock getBlock1() {
    return block1;
  }

  public void setBlock1(StandardImageTextBlock block1) {
    this.block1 = block1;
  }

  public StandardFourImageTextQuadrantModule block2(StandardImageTextBlock block2) {
    this.block2 = block2;
    return this;
  }

   /**
   * Get block2
   * @return block2
  **/
  @ApiModelProperty(required = true, value = "")
  public StandardImageTextBlock getBlock2() {
    return block2;
  }

  public void setBlock2(StandardImageTextBlock block2) {
    this.block2 = block2;
  }

  public StandardFourImageTextQuadrantModule block3(StandardImageTextBlock block3) {
    this.block3 = block3;
    return this;
  }

   /**
   * Get block3
   * @return block3
  **/
  @ApiModelProperty(required = true, value = "")
  public StandardImageTextBlock getBlock3() {
    return block3;
  }

  public void setBlock3(StandardImageTextBlock block3) {
    this.block3 = block3;
  }

  public StandardFourImageTextQuadrantModule block4(StandardImageTextBlock block4) {
    this.block4 = block4;
    return this;
  }

   /**
   * Get block4
   * @return block4
  **/
  @ApiModelProperty(required = true, value = "")
  public StandardImageTextBlock getBlock4() {
    return block4;
  }

  public void setBlock4(StandardImageTextBlock block4) {
    this.block4 = block4;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    StandardFourImageTextQuadrantModule standardFourImageTextQuadrantModule = (StandardFourImageTextQuadrantModule) o;
    return Objects.equals(this.block1, standardFourImageTextQuadrantModule.block1) &&
        Objects.equals(this.block2, standardFourImageTextQuadrantModule.block2) &&
        Objects.equals(this.block3, standardFourImageTextQuadrantModule.block3) &&
        Objects.equals(this.block4, standardFourImageTextQuadrantModule.block4);
  }

  @Override
  public int hashCode() {
    return Objects.hash(block1, block2, block3, block4);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class StandardFourImageTextQuadrantModule {\n");
    
    sb.append("    block1: ").append(toIndentedString(block1)).append("\n");
    sb.append("    block2: ").append(toIndentedString(block2)).append("\n");
    sb.append("    block3: ").append(toIndentedString(block3)).append("\n");
    sb.append("    block4: ").append(toIndentedString(block4)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}

